package com.yisu.auction.manager.core.service.impl;

import com.yisu.auction.ewf.entity.AppSignGoods;
import com.yisu.auction.manager.core.mapper.AppSignGoodsMapper;
import com.yisu.auction.manager.core.service.IAppSignGoodsService;
import com.yisu.auction.manager.domain.request.appSignPackage.AppSignGoodsRequest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * author: 赵杰
 * Business Description：签名包商品业务实现
 * createTime：2017/9/5
 */
@Service
public class AppSignGoodsServiceImpl implements IAppSignGoodsService{
    @Resource
    private AppSignGoodsMapper appSignGoodsMapper;
    /**
     * author:赵杰
     * Business Description:通过商品ID获取包商品
     *
     * @param appSignGoodsRequest
     * @return
     */
    @Override
    public List<AppSignGoods> getAppSignGoodsListByGoodsId(AppSignGoodsRequest appSignGoodsRequest) {
        return appSignGoodsMapper.getAppSignGoodsListByGoodsId(appSignGoodsRequest);
    }
}
